﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.Text;

namespace AbpProject
{
    /// <summary>
    /// 验证码校验表
    /// </summary>
    public class AbpRegisterCheck : Entity<long>, IFullAudited
    {
        /// <summary>
        /// 手机或者邮箱
        /// </summary>
        public string MobileOrEmail { get; set; }
        /// <summary>
        /// 验证码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 是否失效
        /// </summary>
        public bool IsInvalid { get; set; }
        /// <summary>
        ///  有效截止时间
        /// </summary>
        public DateTime? InvalidTime { get; set; }

        public long? CreatorUserId { get; set; }
        public DateTime CreationTime { get; set; }
        public long? LastModifierUserId { get; set; }
        public DateTime? LastModificationTime { get; set; }
        public long? DeleterUserId { get; set; }
        public DateTime? DeletionTime { get; set; }
        public bool IsDeleted { get; set; }
    }
}
